FROM jboss/base-jdk:8
MAINTAINER Mr_He hellohesir@gmail.com
EXPOSE 7000

USER root
ADD target/config-server.jar /app.jar
COPY src/main/resources/config-files /home/config-files
COPY yc.sh /usr/bin/
RUN chmod 755 /usr/bin/yc.sh

ENTRYPOINT ["java","-jar","/app.jar"]
